home *** CD-ROM | disk | FTP | other *** search
/ Delphi 5 for Professionals / DELPHI5.iso / AddOns / Components / InstallMaster 7.03 / Devfulldemo.exe / file0199.bin < prev    next >
Encoding:
Wise script  |  1999-04-26  |  27.3 KB  |  1,002 lines

  1. Document Type: WSE
  2. item: Global
  3.   Version=5.0
  4.   Title=Widget Software Installation
  5.   Flags=00000100
  6.   Languages=65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  7.   Japanese Font Name=MS Gothic
  8.   Japanese Font Size=10
  9.   Start Gradient=0 0 255
  10.   End Gradient=0 0 0
  11.   Windows Flags=00000001100000010010110000001000
  12.   Log Pathname=%MAINDIR%\INSTALL.LOG
  13.   Message Font=MS Sans Serif
  14.   Font Size=8
  15.   Disk Filename=SETUP
  16.   Patch Flags=0000000000000001
  17.   Patch Threshold=85
  18.   Patch Memory=4000
  19.   FTP Cluster Size=20
  20. end
  21. item: Remark
  22.   Text=This example demonstrates how to check an FTP site for a newer version
  23. end
  24. item: Remark
  25.   Text=of the software.
  26. end
  27. item: Remark
  28. end
  29. item: Open/Close INSTALL.LOG
  30.   Flags=00000001
  31. end
  32. item: Check if File/Dir Exists
  33.   Pathname=%SYS%
  34.   Flags=10000100
  35. end
  36. item: Set Variable
  37.   Variable=SYS
  38.   Value=%WIN%
  39. end
  40. item: End Block
  41. end
  42. item: Set Variable
  43.   Variable=APPTITLE
  44.   Value=Widget Software
  45. end
  46. item: Set Variable
  47.   Variable=GROUP
  48. end
  49. item: Set Variable
  50.   Variable=DISABLED
  51.   Value=!
  52. end
  53. item: Set Variable
  54.   Variable=MAINDIR
  55.   Value=WIDGET
  56. end
  57. item: Check Configuration
  58.   Flags=10111011
  59. end
  60. item: Get Registry Key Value
  61.   Variable=COMMON
  62.   Key=SOFTWARE\Microsoft\Windows\CurrentVersion
  63.   Default=C:\Program Files\Common Files
  64.   Value Name=CommonFilesDir
  65.   Flags=00000100
  66. end
  67. item: Get Registry Key Value
  68.   Variable=PROGRAM_FILES
  69.   Key=SOFTWARE\Microsoft\Windows\CurrentVersion
  70.   Default=C:\Program Files
  71.   Value Name=ProgramFilesDir
  72.   Flags=00000100
  73. end
  74. item: Set Variable
  75.   Variable=MAINDIR
  76.   Value=%PROGRAM_FILES%\%MAINDIR%
  77. end
  78. item: Set Variable
  79.   Variable=EXPLORER
  80.   Value=1
  81. end
  82. item: Else Statement
  83. end
  84. item: Set Variable
  85.   Variable=MAINDIR
  86.   Value=C:\%MAINDIR%
  87. end
  88. item: End Block
  89. end
  90. item: Set Variable
  91.   Variable=BACKUP
  92.   Value=%MAINDIR%\BACKUP
  93. end
  94. item: Set Variable
  95.   Variable=DOBACKUP
  96.   Value=B
  97. end
  98. item: Set Variable
  99.   Variable=BRANDING
  100.   Value=0
  101. end
  102. item: If/While Statement
  103.   Variable=BRANDING
  104.   Value=1
  105. end
  106. item: Read INI Value
  107.   Variable=NAME
  108.   Pathname=%INST%\CUSTDATA.INI
  109.   Section=Registration
  110.   Item=Name
  111. end
  112. item: Read INI Value
  113.   Variable=COMPANY
  114.   Pathname=%INST%\CUSTDATA.INI
  115.   Section=Registration
  116.   Item=Company
  117. end
  118. item: If/While Statement
  119.   Variable=NAME
  120. end
  121. item: Set Variable
  122.   Variable=DOBRAND
  123.   Value=1
  124. end
  125. item: End Block
  126. end
  127. item: End Block
  128. end
  129. item: Wizard Block
  130.   Direction Variable=DIRECTION
  131.   Display Variable=DISPLAY
  132.   Bitmap Pathname=C:\PROGRAM FILES\WISE555\DIALOGS\TEMPLATE\WIZARD.BMP
  133.   X Position=9
  134.   Y Position=10
  135.   Filler Color=8421440
  136.   Dialog=Select Program Manager Group
  137.   Dialog=Select Backup Directory
  138.   Dialog=Display Registration Information
  139.   Dialog=Get Registration Information
  140.   Variable=EXPLORER
  141.   Variable=DOBACKUP
  142.   Variable=DOBRAND
  143.   Variable=DOBRAND
  144.   Value=1
  145.   Value=A
  146.   Value=1
  147.   Value=1
  148.   Compare=0
  149.   Compare=1
  150.   Compare=0
  151.   Compare=1
  152.   Flags=00000011
  153. end
  154. item: Custom Dialog Set
  155.   Name=Welcome
  156.   Display Variable=DISPLAY
  157.   item: Dialog
  158.     Title=%APPTITLE% Installation
  159.     Title French=Installation de %APPTITLE%
  160.     Title German=Installation von %APPTITLE%
  161.     Title Spanish=Instalaci≤n de %APPTITLE%
  162.     Title Italian=Installazione di %APPTITLE%
  163.     Width=271
  164.     Height=224
  165.     Font Name=Helv
  166.     Font Size=8
  167.     item: Static
  168.       Rectangle=86 8 258 42
  169.       Create Flags=01010000000000000000000000000000
  170.       Flags=0000000000000001
  171.       Name=Times New Roman
  172.       Font Style=-24 0 0 0 700 255 0 0 0 3 2 1 18
  173.       Text=Welcome!
  174.       Text French=Bienvenue !
  175.       Text German=Willkommen!
  176.       Text Spanish=íBienvenido!
  177.       Text Italian=Benvenuti!
  178.     end
  179.     item: Push Button
  180.       Rectangle=150 187 195 202
  181.       Variable=DIRECTION
  182.       Value=N
  183.       Create Flags=01010000000000010000000000000001
  184.       Text=&Next >
  185.       Text French=&Suite >
  186.       Text German=&Weiter >
  187.       Text Spanish=&Siguiente >
  188.       Text Italian=&Avanti >
  189.     end
  190.     item: Push Button
  191.       Rectangle=105 187 150 202
  192.       Variable=DISABLED
  193.       Value=!
  194.       Create Flags=01010000000000010000000000000000
  195.       Text=< &Back
  196.       Text French=< &Retour
  197.       Text German=< &Zurⁿck
  198.       Text Spanish=< &Atrßs
  199.       Text Italian=< &Indietro
  200.     end
  201.     item: Push Button
  202.       Rectangle=211 187 256 202
  203.       Action=3
  204.       Create Flags=01010000000000010000000000000000
  205.       Text=&Cancel
  206.       Text French=&Annuler
  207.       Text German=&Abbrechen
  208.       Text Spanish=&Cancelar
  209.       Text Italian=&Annulla
  210.     end
  211.     item: Static
  212.       Rectangle=86 42 256 131
  213.       Create Flags=01010000000000000000000000000000
  214.       Text=This installation program will install the %APPTITLE%.
  215.       Text=
  216.       Text=Press the Next button to start the installation. You can press the Cancel button now if you do not want to install the %APPTITLE% at this time.
  217.       Text French=Ce programme d'installation va installer %APPTITLE%.
  218.       Text French=
  219.       Text French=Cliquez sur le bouton Suite pour dΘmarrer l'installation. Vous pouvez cliquer sur le bouton Quitter l'installation si vous ne voulez pas installer %APPTITLE% tout de suite.
  220.       Text German=Mit diesem Installationsprogramm wird %APPTITLE% installiert.
  221.       Text German=
  222.       Text German=Klicken Sie auf "Weiter", um mit der Installation zu beginnen. Klicken Sie auf "Abbrechen", um die Installation von %APPTITLE% abzubrechen.
  223.       Text Spanish=Este programa de instalaci≤n instalarß %APPTITLE%.
  224.       Text Spanish=
  225.       Text Spanish=Presione el bot≤n Siguiente para iniciar la instalaci≤n. Puede presionar el bot≤n Salir de instalaci≤n si no desea instalar %APPTITLE% en este momento.
  226.       Text Italian=Questo programma installerα %APPTITLE%.
  227.       Text Italian=
  228.       Text Italian=Per avvviare l'installazione premere il pulsante Avanti. Se non si desidera installare %APPTITLE% ora, premere il pulsante Esci dall'installazione.
  229.     end
  230.     item: Static
  231.       Rectangle=8 180 256 181
  232.       Action=3
  233.       Create Flags=01010000000000000000000000000111
  234.     end
  235.   end
  236. end
  237. item: Custom Dialog Set
  238.   Name=Select Destination Directory
  239.   Display Variable=DISPLAY
  240.   item: Dialog
  241.     Title=%APPTITLE% Installation
  242.     Title French=Installation de %APPTITLE%
  243.     Title German=Installation von %APPTITLE%
  244.     Title Spanish=Instalaci≤n de %APPTITLE%
  245.     Title Italian=Installazione di %APPTITLE%
  246.     Width=271
  247.     Height=224
  248.     Font Name=Helv
  249.     Font Size=8
  250.     item: Push Button
  251.       Rectangle=150 187 195 202
  252.       Variable=DIRECTION
  253.       Value=N
  254.       Create Flags=01010000000000010000000000000001
  255.       Text=&Next >
  256.       Text French=&Suite >
  257.       Text German=&Weiter >
  258.       Text Spanish=&Siguiente >
  259.       Text Italian=&Avanti >
  260.     end
  261.     item: Push Button
  262.       Rectangle=105 187 150 202
  263.       Variable=DIRECTION
  264.       Value=B
  265.       Create Flags=01010000000000010000000000000000
  266.       Flags=0000000000000001
  267.       Text=< &Back
  268.       Text French=< &Retour
  269.       Text German=< &Zurⁿck
  270.       Text Spanish=< &Atrßs
  271.       Text Italian=< &Indietro
  272.     end
  273.     item: Push Button
  274.       Rectangle=211 187 256 202
  275.       Action=3
  276.       Create Flags=01010000000000010000000000000000
  277.       Text=&Cancel
  278.       Text French=&Annuler
  279.       Text German=&Abbrechen
  280.       Text Spanish=&Cancelar
  281.       Text Italian=&Annulla
  282.     end
  283.     item: Static
  284.       Rectangle=8 180 256 181
  285.       Action=3
  286.       Create Flags=01010000000000000000000000000111
  287.     end
  288.     item: Static
  289.       Rectangle=86 8 258 42
  290.       Create Flags=01010000000000000000000000000000
  291.       Flags=0000000000000001
  292.       Name=Times New Roman
  293.       Font Style=-24 0 0 0 700 255 0 0 0 3 2 1 18
  294.       Text=Select Destination Directory
  295.       Text French=SΘlectionner le rΘpertoire de destination
  296.       Text German=Zielverzeichnis wΣhlen
  297.       Text Spanish=Seleccione el directorio de destino
  298.       Text Italian=Selezionare Directory di destinazione
  299.     end
  300.     item: Static
  301.       Rectangle=86 42 256 82
  302.       Create Flags=01010000000000000000000000000000
  303.       Text=Please select the directory where the %APPTITLE% files are to be installed.
  304.       Text French=Veuillez sΘlectionner le rΘpertoire dans lequel les fichiers %APPTITLE% doivent Ωtre installΘs.
  305.       Text German=Geben Sie an, in welchem Verzeichnis die %APPTITLE%-Dateien installiert werden sollen.
  306.       Text Spanish=Por favor seleccione el directorio donde desee instalar los archivos de %APPTITLE%.
  307.       Text Italian=Selezionare la directory dove verranno installati i file %APPTITLE%.
  308.     end
  309.     item: Static
  310.       Rectangle=86 98 256 125
  311.       Action=1
  312.       Create Flags=01010000000000000000000000000111
  313.     end
  314.     item: Push Button
  315.       Rectangle=208 106 253 121
  316.       Variable=MAINDIR_SAVE
  317.       Value=%MAINDIR%
  318.       Destination Dialog=1
  319.       Action=2
  320.       Create Flags=01010000000000010000000000000000
  321.       Text=Browse
  322.       Text French=Parcourir
  323.       Text German=Durchsuchen
  324.       Text Spanish=Buscar
  325.       Text Italian=Sfoglie
  326.     end
  327.     item: Static
  328.       Rectangle=90 109 206 120
  329.       Create Flags=01010000000000000000000000000000
  330.       Text=%MAINDIR%
  331.       Text French=%MAINDIR%
  332.       Text German=%MAINDIR%
  333.       Text Spanish=%MAINDIR%
  334.       Text Italian=%MAINDIR%
  335.     end
  336.   end
  337.   item: Dialog
  338.     Title=Select Destination Directory
  339.     Title French=SΘlectionner le rΘpertoire de destination
  340.     Title German=Zielverzeichnis wΣhlen
  341.     Title Spanish=Seleccione el directorio de destino
  342.     Title Italian=Selezionare Directory di destinazione
  343.     Width=221
  344.     Height=173
  345.     Font Name=Helv
  346.     Font Size=8
  347.     item: Listbox
  348.       Rectangle=5 5 163 149
  349.       Variable=MAINDIR
  350.       Create Flags=01010000100000010000000101000000
  351.       Flags=0000110000100010
  352.       Text=%MAINDIR%
  353.       Text French=%MAINDIR%
  354.       Text German=%MAINDIR%
  355.       Text Spanish=%MAINDIR%
  356.       Text Italian=%MAINDIR%
  357.     end
  358.     item: Push Button
  359.       Rectangle=167 6 212 21
  360.       Create Flags=01010000000000010000000000000001
  361.       Text=OK
  362.       Text French=OK
  363.       Text German=OK
  364.       Text Spanish=Aceptar
  365.       Text Italian=OK
  366.     end
  367.     item: Push Button
  368.       Rectangle=167 25 212 40
  369.       Variable=MAINDIR
  370.       Value=%MAINDIR_SAVE%
  371.       Create Flags=01010000000000010000000000000000
  372.       Flags=0000000000000001
  373.       Text=Cancel
  374.       Text French=Annuler
  375.       Text German=Abbrechen
  376.       Text Spanish=Cancelar
  377.       Text Italian=Annulla
  378.     end
  379.   end
  380. end
  381. item: Custom Dialog Set
  382.   Name=Select Program Manager Group
  383.   Display Variable=DISPLAY
  384.   item: Dialog
  385.     Title=%APPTITLE% Installation
  386.     Title French=Installation de %APPTITLE%
  387.     Title German=Installation von %APPTITLE%
  388.     Title Spanish=Instalaci≤n de %APPTITLE%
  389.     Title Italian=Installazione di %APPTITLE%
  390.     Width=271
  391.     Height=224
  392.     Font Name=Helv
  393.     Font Size=8
  394.     item: Push Button
  395.       Rectangle=150 187 195 202
  396.       Variable=DIRECTION
  397.       Value=N
  398.       Create Flags=01010000000000010000000000000001
  399.       Text=&Next >
  400.       Text French=&Suite >
  401.       Text German=&Weiter >
  402.       Text Spanish=&Siguiente >
  403.       Text Italian=&Avanti >
  404.     end
  405.     item: Push Button
  406.       Rectangle=105 187 150 202
  407.       Variable=DIRECTION
  408.       Value=B
  409.       Create Flags=01010000000000010000000000000000
  410.       Flags=0000000000000001
  411.       Text=< &Back
  412.       Text French=< &Retour
  413.       Text German=< &Zurⁿck
  414.       Text Spanish=< &Atrßs
  415.       Text Italian=< &Indietro
  416.     end
  417.     item: Push Button
  418.       Rectangle=211 187 256 202
  419.       Action=3
  420.       Create Flags=01010000000000010000000000000000
  421.       Text=&Cancel
  422.       Text French=&Annuler
  423.       Text German=&Abbrechen
  424.       Text Spanish=&Cancelar
  425.       Text Italian=&Annulla
  426.     end
  427.     item: Static
  428.       Rectangle=8 180 256 181
  429.       Action=3
  430.       Create Flags=01010000000000000000000000000111
  431.     end
  432.     item: Static
  433.       Rectangle=86 8 258 42
  434.       Create Flags=01010000000000000000000000000000
  435.       Flags=0000000000000001
  436.       Name=Times New Roman
  437.       Font Style=-24 0 0 0 700 255 0 0 0 3 2 1 18
  438.       Text=Select ProgMan Group
  439.       Text French=SΘlectionner le groupe du Gestionnaire de programme 
  440.       Text German=Bestimmung der Programm-Managergruppe
  441.       Text Spanish=Seleccione grupo del Administrador de programas
  442.       Text Italian=Selezionare il gruppo ProgMan 
  443.     end
  444.     item: Static
  445.       Rectangle=86 44 256 68
  446.       Create Flags=01010000000000000000000000000000
  447.       Text=Enter the name of the Program Manager group to add the %APPTITLE% icons to:
  448.       Text French=Entrez le nom du groupe du Gestionnaire de programme dans lequel vous souhaitez ajouter les ic⌠nes de %APPTITLE% :
  449.       Text German=Geben Sie den Namen der Programmgruppe ein, der das Symbol %APPTITLE% hinzugefⁿgt werden soll:
  450.       Text Spanish=Escriba el nombre del grupo del Administrador de programas en el que desea agregar los iconos de %APPTITLE%:
  451.       Text Italian=Inserire il nome del gruppo Program Manager per aggiungere le icone %APPTITLE% a:
  452.     end
  453.     item: Combobox
  454.       Rectangle=86 69 256 175
  455.       Variable=GROUP
  456.       Create Flags=01010000001000010000001100000001
  457.       Flags=0000000000000001
  458.       Text=%GROUP%
  459.       Text French=%GROUP%
  460.       Text German=%GROUP%
  461.       Text Spanish=%GROUP%
  462.       Text Italian=%GROUP%
  463.     end
  464.   end
  465. end
  466. item: Custom Dialog Set
  467.   Name=Start Installation
  468.   Display Variable=DISPLAY
  469.   item: Dialog
  470.     Title=%APPTITLE% Installation
  471.     Title French=Installation de %APPTITLE%
  472.     Title German=Installation von %APPTITLE%
  473.     Title Spanish=Instalaci≤n de %APPTITLE%
  474.     Title Italian=Installazione di %APPTITLE%
  475.     Width=271
  476.     Height=224
  477.     Font Name=Helv
  478.     Font Size=8
  479.     item: Push Button
  480.       Rectangle=150 187 195 202
  481.       Variable=DIRECTION
  482.       Value=N
  483.       Create Flags=01010000000000010000000000000001
  484.       Text=&Next >
  485.       Text French=&Suite >
  486.       Text German=&Weiter >
  487.       Text Spanish=&Siguiente >
  488.       Text Italian=&Avanti >
  489.     end
  490.     item: Push Button
  491.       Rectangle=105 187 150 202
  492.       Variable=DIRECTION
  493.       Value=B
  494.       Create Flags=01010000000000010000000000000000
  495.       Text=< &Back
  496.       Text French=< &Retour
  497.       Text German=< &Zurⁿck
  498.       Text Spanish=< &Atrßs
  499.       Text Italian=< &Indietro
  500.     end
  501.     item: Push Button
  502.       Rectangle=211 187 256 202
  503.       Action=3
  504.       Create Flags=01010000000000010000000000000000
  505.       Text=&Cancel
  506.       Text French=&Annuler
  507.       Text German=&Abbrechen
  508.       Text Spanish=&Cancelar
  509.       Text Italian=&Annulla
  510.     end
  511.     item: Static
  512.       Rectangle=8 180 256 181
  513.       Action=3
  514.       Create Flags=01010000000000000000000000000111
  515.     end
  516.     item: Static
  517.       Rectangle=86 8 258 42
  518.       Create Flags=01010000000000000000000000000000
  519.       Flags=0000000000000001
  520.       Name=Times New Roman
  521.       Font Style=-24 0 0 0 700 255 0 0 0 3 2 1 18
  522.       Text=Ready to Install!
  523.       Text French=PrΩt α installer !
  524.       Text German=Installationsbereit!
  525.       Text Spanish=íPreparado para la instalaci≤n!
  526.       Text Italian=Pronto per l'installazione!
  527.     end
  528.     item: Static
  529.       Rectangle=86 42 256 102
  530.       Create Flags=01010000000000000000000000000000
  531.       Text=You are now ready to install the %APPTITLE%.
  532.       Text=
  533.       Text=Press the Next button to begin the installation or the Back button to reenter the installation information.
  534.       Text French=Vous Ωtes maintenant prΩt α installer les fichiers %APPTITLE%.
  535.       Text French=
  536.       Text French=Cliquez sur le bouton Suite pour commencer l'installation ou sur le bouton Retour pour entrer les informations d'installation α nouveau.
  537.       Text German=Sie k÷nnen %APPTITLE% nun installieren.
  538.       Text German=
  539.       Text German=Klicken Sie auf "Weiter", um mit der Installation zu beginnen. Klicken Sie auf "Zurⁿck", um die Installationsinformationen neu einzugeben.
  540.       Text Spanish=Ya estß listo para instalar %APPTITLE%.
  541.       Text Spanish=
  542.       Text Spanish=Presione el bot≤n Siguiente para comenzar la instalaci≤n o presione Atrßs para volver a ingresar la informaci≤n para la instalaci≤n.
  543.       Text Italian=Ora Φ possibile installare %APPTITLE%.
  544.       Text Italian=
  545.       Text Italian=Premere il pulsante Avanti per avviare l'installazione o il pulsante Indietro per reinserire le informazioni di installazione.
  546.     end
  547.   end
  548. end
  549. item: If/While Statement
  550.   Variable=DISPLAY
  551.   Value=Select Destination Directory
  552. end
  553. item: Set Variable
  554.   Variable=BACKUP
  555.   Value=%MAINDIR%\BACKUP
  556. end
  557. item: End Block
  558. end
  559. item: End Block
  560. end
  561. item: If/While Statement
  562.   Variable=DOBACKUP
  563.   Value=A
  564. end
  565. item: Set Variable
  566.   Variable=BACKUPDIR
  567.   Value=%BACKUP%
  568. end
  569. item: End Block
  570. end
  571. item: If/While Statement
  572.   Variable=BRANDING
  573.   Value=1
  574. end
  575. item: If/While Statement
  576.   Variable=DOBRAND
  577.   Value=1
  578. end
  579. item: Edit INI File
  580.   Pathname=%INST%\CUSTDATA.INI
  581.   Settings=[Registration]
  582.   Settings=NAME=%NAME%
  583.   Settings=COMPANY=%COMPANY%
  584.   Settings=
  585. end
  586. item: End Block
  587. end
  588. item: End Block
  589. end
  590. item: Open/Close INSTALL.LOG
  591. end
  592. item: Check Disk Space
  593.   Component=COMPONENTS
  594. end
  595. item: Set Variable
  596.   Variable=MAINDIR
  597.   Value=%MAINDIR%
  598.   Flags=00010100
  599. end
  600. item: Check Configuration
  601.   Flags=10111011
  602. end
  603. item: Get Registry Key Value
  604.   Variable=GROUPDIR
  605.   Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
  606.   Default=%WIN%\Start Menu\Programs
  607.   Value Name=Programs
  608.   Flags=00000010
  609. end
  610. item: Set Variable
  611.   Variable=GROUP
  612.   Value=%GROUPDIR%\%GROUP%
  613. end
  614. item: Else Statement
  615. end
  616. item: End Block
  617. end
  618. item: Self-Register OCXs/DLLs
  619.   Description=Updating System Configuration, Please Wait...
  620. end
  621. item: Set Variable
  622.   Variable=WINSOCK
  623.   Value=FALSE
  624. end
  625. item: Set Variable
  626.   Variable=CHECKUPGRADE
  627.   Value=FALSE
  628. end
  629. item: Check Configuration
  630.   Flags=10111010
  631. end
  632. item: Check if File/Dir Exists
  633.   Pathname=%SYS%\WSOCK32.DLL
  634.   Flags=00000100
  635. end
  636. item: Set Variable
  637.   Variable=WINSOCK
  638.   Value=TRUE
  639. end
  640. item: End Block
  641. end
  642. item: Check if File/Dir Exists
  643.   Pathname=%WIN%\WSOCK32.DLL
  644.   Flags=00000100
  645. end
  646. item: Set Variable
  647.   Variable=WINSOCK
  648.   Value=TRUE
  649. end
  650. item: End Block
  651. end
  652. item: Else Statement
  653. end
  654. item: Check if File/Dir Exists
  655.   Pathname=%SYS%\WINSOCK.DLL
  656.   Flags=00000100
  657. end
  658. item: Set Variable
  659.   Variable=WINSOCK
  660.   Value=TRUE
  661. end
  662. item: End Block
  663. end
  664. item: Check if File/Dir Exists
  665.   Pathname=%WIN%\WINSOCK.DLL
  666.   Flags=00000100
  667. end
  668. item: Set Variable
  669.   Variable=WINSOCK
  670.   Value=TRUE
  671. end
  672. item: End Block
  673. end
  674. item: End Block
  675. end
  676. item: Wizard Block
  677.   Direction Variable=DIRECTION
  678.   Display Variable=DISPLAY
  679.   Bitmap Pathname=C:\PROGRAM FILES\WISE555\DIALOGS\TEMPLATE\WIZARD.BMP
  680.   X Position=9
  681.   Y Position=10
  682.   Filler Color=8421440
  683.   Dialog=Finished With Update
  684.   Dialog=Finished W/O Update
  685.   Variable=WINSOCK
  686.   Variable=WINSOCK
  687.   Value=FALSE
  688.   Value=TRUE
  689.   Compare=0
  690.   Compare=0
  691.   Flags=00000011
  692. end
  693. item: Custom Dialog Set
  694.   Name=Finished With Update
  695.   Display Variable=DISPLAY
  696.   item: Dialog
  697.     Title=%APPTITLE% Installation
  698.     Title French=Installation de %APPTITLE%
  699.     Title German=Installation von %APPTITLE%
  700.     Title Spanish=Instalaci≤n de %APPTITLE%
  701.     Title Italian=Installazione di %APPTITLE%
  702.     Width=271
  703.     Height=224
  704.     Font Name=Helv
  705.     Font Size=8
  706.     item: Push Button
  707.       Rectangle=150 187 195 202
  708.       Variable=DIRECTION
  709.       Value=N
  710.       Create Flags=01010000000000010000000000000001
  711.       Text=&Finish
  712.       Text French=&Fin
  713.       Text German=&Weiter
  714.       Text Spanish=&Terminar
  715.       Text Italian=&Fine
  716.     end
  717.     item: Push Button
  718.       Rectangle=105 187 150 202
  719.       Variable=DISABLED
  720.       Value=!
  721.       Create Flags=01010000000000010000000000000000
  722.       Text=< &Back
  723.       Text French=< &Retour
  724.       Text German=< &Zurⁿck
  725.       Text Spanish=< &Atrßs
  726.       Text Italian=< &Indietro
  727.     end
  728.     item: Push Button
  729.       Rectangle=211 187 256 202
  730.       Variable=DISABLED
  731.       Value=!
  732.       Action=3
  733.       Create Flags=01010000000000010000000000000000
  734.       Text=&Cancel
  735.       Text French=&Annuler
  736.       Text German=&Abbrechen
  737.       Text Spanish=&Cancelar
  738.       Text Italian=&Annulla
  739.     end
  740.     item: Static
  741.       Rectangle=8 180 256 181
  742.       Action=3
  743.       Create Flags=01010000000000000000000000000111
  744.     end
  745.     item: Static
  746.       Rectangle=86 8 258 42
  747.       Create Flags=01010000000000000000000000000000
  748.       Flags=0000000000000001
  749.       Name=Times New Roman
  750.       Font Style=-24 0 0 0 700 255 0 0 0 3 2 1 18
  751.       Text=Installation Completed!
  752.       Text French=Installation terminΘe !
  753.       Text German=Die Installation ist abgeschlossen!
  754.       Text Spanish=íInstalaci≤n terminada!
  755.       Text Italian=Installazione completata!
  756.     end
  757.     item: Static
  758.       Rectangle=86 38 256 78
  759.       Create Flags=01010000000000000000000000000000
  760.       Text=The %APPTITLE% has been successfully installed.
  761.       Text=
  762.       Text=If you would like to check on our Internet Site to make sure you are using the latest version click on the button below.
  763.       Text=
  764.       Text French=%APPTITLE% est maintenant installΘ.
  765.       Text French=
  766.       Text French=Cliquez sur le bouton Fin pour quitter l'installation.
  767.       Text German=%APPTITLE% wurde erfolgreich installiert.
  768.       Text German=
  769.       Text German=Klicken Sie auf "Weiter", um die Installation zu beenden.
  770.       Text Spanish=%APPTITLE% se ha instalado con Θxito.
  771.       Text Spanish=
  772.       Text Spanish=Presione el bot≤n Terminar para salir de esta instalaci≤n.
  773.       Text Italian=L'installazione %APPTITLE% Φ stata portata a termine con successo.
  774.       Text Italian=
  775.       Text Italian=Premere il pulsante Fine per uscire dall'installazione.
  776.     end
  777.     item: Static
  778.       Rectangle=87 137 253 157
  779.       Create Flags=01010000000000000000000000000000
  780.       Text=If you do not want to check for an upgrade, press the Finish button to exit this installation.
  781.     end
  782.     item: Push Button
  783.       Rectangle=106 81 220 95
  784.       Variable=CHECKUPGRADE
  785.       Value=TRUE
  786.       Action=1
  787.       Create Flags=01010000000000010000000000000000
  788.       Text=CHECK FOR UPGRADE
  789.     end
  790.   end
  791. end
  792. item: If/While Statement
  793.   Variable=CHECKUPGRADE
  794.   Value=TRUE
  795. end
  796. item: Set Variable
  797.   Variable=DIRECTION
  798.   Value=N
  799. end
  800. item: End Block
  801. end
  802. item: Custom Dialog Set
  803.   Name=Finished W/O Update
  804.   Display Variable=DISPLAY
  805.   item: Dialog
  806.     Title=%APPTITLE% Installation
  807.     Title French=Installation de %APPTITLE%
  808.     Title German=Installation von %APPTITLE%
  809.     Title Spanish=Instalaci≤n de %APPTITLE%
  810.     Title Italian=Installazione di %APPTITLE%
  811.     Width=271
  812.     Height=224
  813.     Font Name=Helv
  814.     Font Size=8
  815.     item: Push Button
  816.       Rectangle=150 187 195 202
  817.       Variable=DIRECTION
  818.       Value=N
  819.       Create Flags=01010000000000010000000000000001
  820.       Text=&Finish
  821.       Text French=&Fin
  822.       Text German=&Weiter
  823.       Text Spanish=&Terminar
  824.       Text Italian=&Fine
  825.     end
  826.     item: Push Button
  827.       Rectangle=105 187 150 202
  828.       Variable=DISABLED
  829.       Value=!
  830.       Create Flags=01010000000000010000000000000000
  831.       Text=< &Back
  832.       Text French=< &Retour
  833.       Text German=< &Zurⁿck
  834.       Text Spanish=< &Atrßs
  835.       Text Italian=< &Indietro
  836.     end
  837.     item: Push Button
  838.       Rectangle=211 187 256 202
  839.       Variable=DISABLED
  840.       Value=!
  841.       Action=3
  842.       Create Flags=01010000000000010000000000000000
  843.       Text=&Cancel
  844.       Text French=&Annuler
  845.       Text German=&Abbrechen
  846.       Text Spanish=&Cancelar
  847.       Text Italian=&Annulla
  848.     end
  849.     item: Static
  850.       Rectangle=8 180 256 181
  851.       Action=3
  852.       Create Flags=01010000000000000000000000000111
  853.     end
  854.     item: Static
  855.       Rectangle=86 8 258 42
  856.       Create Flags=01010000000000000000000000000000
  857.       Flags=0000000000000001
  858.       Name=Times New Roman
  859.       Font Style=-24 0 0 0 700 255 0 0 0 3 2 1 18
  860.       Text=Installation Completed!
  861.       Text French=Installation terminΘe !
  862.       Text German=Die Installation ist abgeschlossen!
  863.       Text Spanish=íInstalaci≤n terminada!
  864.       Text Italian=Installazione completata!
  865.     end
  866.     item: Static
  867.       Rectangle=86 41 256 101
  868.       Create Flags=01010000000000000000000000000000
  869.       Text=The %APPTITLE% has been successfully installed.
  870.       Text=
  871.       Text=Press the Finish button to exit this installation.
  872.       Text French=%APPTITLE% est maintenant installΘ.
  873.       Text French=
  874.       Text French=Cliquez sur le bouton Fin pour quitter l'installation.
  875.       Text German=%APPTITLE% wurde erfolgreich installiert.
  876.       Text German=
  877.       Text German=Klicken Sie auf "Weiter", um die Installation zu beenden.
  878.       Text Spanish=%APPTITLE% se ha instalado con Θxito.
  879.       Text Spanish=
  880.       Text Spanish=Presione el bot≤n Terminar para salir de esta instalaci≤n.
  881.       Text Italian=L'installazione %APPTITLE% Φ stata portata a termine con successo.
  882.       Text Italian=
  883.       Text Italian=Premere il pulsante Fine per uscire dall'installazione.
  884.     end
  885.   end
  886. end
  887. item: End Block
  888. end
  889. item: If/While Statement
  890.   Variable=CHECKUPGRADE
  891.   Value=TRUE
  892. end
  893. item: Set Variable
  894.   Variable=UPGRADE_INI
  895.   Value=ftp://ftp.glbs.com/upgrade/upgrade.ini
  896. end
  897. item: Remark
  898. end
  899. item: Remark
  900.   Text=A COPY OF THIS INI FILE CAN BE FOUND IN THE EXAMPLE DIRECTORY
  901. end
  902. item: Copy Local File
  903.   Source=%UPGRADE_INI%
  904.   Destination=%TEMP%\upgrade.ini
  905.   Description=Upgrade Information
  906.   Local Path=C:\WIN95\DESKTOP\UPGRADE.INI
  907.   Flags=0000000001000010
  908. end
  909. item: Remark
  910. end
  911. item: Read INI Value
  912.   Variable=RELEASEVERSION
  913.   Pathname=%TEMP%/UPGRADE.INI
  914.   Section=INFORMATION
  915.   Item=ReleaseVersion
  916.   Default=1.0
  917. end
  918. item: Read INI Value
  919.   Variable=RELEASEDATE
  920.   Pathname=%TEMP%/UPGRADE.INI
  921.   Section=INFORMATION
  922.   Item=ReleaseDate
  923.   Default=01/01/96
  924. end
  925. item: If/While Statement
  926.   Variable=RELEASEVERSION
  927.   Value=1.0
  928. end
  929. item: Display Message
  930.   Title=Software Upgrade
  931.   Text=You are using the latest version of our WIDGET software.  Check out our web site at www.widget.com for updates and new product announcments.
  932.   Flags=00000100
  933. end
  934. item: Else Statement
  935. end
  936. item: Custom Dialog Set
  937.   Name=Upgrade Download
  938.   Flags=01110110
  939.   item: Dialog
  940.     Title=New Version
  941.     Width=169
  942.     Height=106
  943.     Font Name=Helv
  944.     Font Size=8
  945.     item: Static
  946.       Rectangle=3 23 162 65
  947.       Create Flags=01010000000000000000000000000000
  948.       Text=Release Date: %RELEASEDATE%
  949.       Text=Release Version %RELEASEVERSION%
  950.       Text=
  951.       Text=Would you like to download and install the upgrade? 
  952.     end
  953.     item: Static
  954.       Rectangle=5 5 164 23
  955.       Create Flags=01010000000000000000000000000000
  956.       Flags=0000000000000001
  957.       Name=Arial
  958.       Font Style=-21 0 0 0 400 0 0 0 0 3 2 1 34
  959.       Text=NEW VERSION AVAILABLE!
  960.     end
  961.     item: Push Button
  962.       Rectangle=31 67 66 82
  963.       Variable=DOUPGRADE
  964.       Value=YES
  965.       Create Flags=01010000000000010000000000000000
  966.       Text=YES
  967.     end
  968.     item: Push Button
  969.       Rectangle=93 68 128 83
  970.       Variable=DOUPGRADE
  971.       Value=NO
  972.       Create Flags=01010000000000010000000000000000
  973.       Text=NO
  974.     end
  975.   end
  976. end
  977. item: If/While Statement
  978.   Variable=DOUPGRADE
  979.   Value=YES
  980. end
  981. item: Set Variable
  982.   Variable=UPGRADE_EXE
  983.   Value=ftp://ftp.glbs.com/upgrade/widgetup.exe
  984. end
  985. item: Copy Local File
  986.   Source=%UPGRADE_EXE%
  987.   Destination=%TEMP%\widgetup.exe
  988.   Description=Upgrade
  989.   Local Path=C:\WIN95\CALC.EXE
  990.   Flags=0000000001000010
  991. end
  992. item: Execute Program
  993.   Pathname=%TEMP%\WIDGETUP.EXE
  994.   Flags=00000010
  995. end
  996. item: End Block
  997. end
  998. item: End Block
  999. end
  1000. item: End Block
  1001. end
  1002.